/*+++ *******************************************************************\
*
*  Copyright and Disclaimer:
*
*     ---------------------------------------------------------------
*     This software is provided "AS IS" without warranty of any kind,
*     either expressed or implied, including but not limited to the
*     implied warranties of noninfringement, merchantability and/or
*     fitness for a particular purpose.
*     ---------------------------------------------------------------
*
*     Copyright (c) 2012 Conexant Systems, Inc.
*     All rights reserved.
*
\******************************************************************* ---*/

#ifndef _ALCAEUS_REGISTERS_H
#define _ALCAEUS_REGISTERS_H

#ifdef __cplusplus
extern "C" {
#endif  /* __cplusplus */

#define ALCS_DEV_REV_ID                 0x0200

#define ALCS_INT_STAT0                  0x0204
#define ALCS_INT_STAT1                  0x0208

#define ALCS_INT_MSK0                   0x020C
#define ALCS_INT_MSK1                   0x0210
#define ALCS_IRQ_CTRL                   0x0214
#define ALCS_CHIP_RST                   0x0218
#define ALCS_CHIP_RST_OVRD              0x021C
#define ALCS_CLK_CTRL0                  0x0220
#define ALCS_CLK_CTRL1                  0x0224

#define ALCS_GPOE                       0x0228
#define ALCS_GPO                        0x022C
#define ALCS_GPI                        0x0230
#define ALCS_GPINT                      0x0234

#define ALCS_PLL0_INT_FRAC              0x0238
#define ALCS_PLL0_CTRL                  0x023C
#define ALCS_PLL1_INT_FRAC              0x0240
#define ALCS_PLL1_CTRL                  0x0244
#define ALCS_PLL2_INT_FRAC              0x0248
#define ALCS_PLL2_CTRL                  0x024C
#define ALCS_PLL3_INT_FRAC              0x0250
#define ALCS_PLL3_CTRL                  0x0254
#define ALCS_PLL4_INT_FRAC              0x0258
#define ALCS_PLL4_CTRL                  0x025C
#define ALCS_PLL5_INT_FRAC              0x0260
#define ALCS_PLL5_CTRL                  0x0264
#define ALCS_PLL6_INT_FRAC              0x0268
#define ALCS_PLL6_CTRL                  0x026C
#define ALCS_PLL7_INT_FRAC              0x0270
#define ALCS_PLL7_CTRL                  0x0274
#define ALCS_PLL8_INT_FRAC              0x0278
#define ALCS_PLL8_CTRL                  0x027C
#define ALCS_PLL9_INT_FRAC              0x0280
#define ALCS_PLL9_CTRL                  0x0284
#define ALCS_AFE_DIAG_CTRL              0x03C0

#define ALCS_AP_STATUS                  0x2000
#define ALCS_AP_MSK                     0x2004
#define ALCS_AP_CFG0                    0x2008
#define ALCS_AP_CFG1                    0x200C
#define ALCS_AP_CFG2                    0x2010
#define ALCS_AP_CFG3                    0x2014
#define ALCS_AP_ADET_CFG1               0x201C
#define ALCS_AP_ADET_CFG2               0x2020
#define ALCS_AP_ADET_CFG3               0x2024
#define ALCS_AP_ADET_CFG4               0x2028
#define ALCS_AP_ADET_CFG5               0x202C
#define ALCS_AP_ADET_CFG6               0x2030
#define ALCS_AP_ADET_CFG7               0x2034
#define ALCS_AP_ADET_CFG8               0x2038
#define ALCS_AP_ADET_CFG9               0x203C
#define ALCS_AP_RMAP0                   0x2040
#define ALCS_AP_RMAP1                   0x2044
#define ALCS_AP_RMAP2                   0x2048
#define ALCS_AP_RMAP3                   0x204C
#define ALCS_AP_MMAP0                   0x2050
#define ALCS_AP_MMAP1                   0x2054
#define ALCS_AP_MMAP2                   0x2058
#define ALCS_AP_MMAP3                   0x205C
#define ALCS_AP_TH0                     0x2060
#define ALCS_AP_TH1                     0x2064
#define ALCS_AP_TH2                     0x2068
#define ALCS_AP_TH3                     0x206C
#define ALCS_AP_TH4                     0x2070
#define ALCS_AP_RATIO0                  0x2074
#define ALCS_AP_RATIO1                  0x2078
#define ALCS_AP_RATIO2                  0x207C

#define ALCS_AADC_DIG_CTRL1             0x2080
#define ALCS_AADC_DIG_CTRL2             0x2084
#define ALCS_AADC_ANA_CTRL1             0x2088
#define ALCS_AADC_ANA_CTRL2             0x208C
#define ALCS_AADC_ANA_CTRL3             0x2090
#define ALCS_AADC_ANA_CTRL4             0x2094
#define ALCS_ADAC_CTRL0                 0x2098
#define ALCS_ADAC_CTRL1                 0x209C
#define ALCS_AUD_GAIN0                  0x20A0
#define ALCS_AUD_GAIN1                  0x20A4
#define ALCS_AUD_GAIN2                  0x20A8
#define ALCS_AUD_CAP_DLY                0x20AC

#define ALCS_VP_DEMUX_A                 0x3000
#define ALCS_VP_DEMUX_B                 0x3004
#define ALCS_VP_DEMUX_C                 0x3008
#define ALCS_VP_DEMUX_D                 0x300C
#define ALCS_VP_OMUX_A                  0x3010
#define ALCS_VP_OMUX_B                  0x3014
#define ALCS_VP_OMUX_C                  0x3018
#define ALCS_VP_OMUX_D                  0x301C
#define ALCS_VP_OMUX_E                  0x3020
#define ALCS_VP_VPE_MISC                0x3024
#define ALCS_VP_DRE_0                   0x3028
#define ALCS_VP_DRE_1                   0x302C
#define ALCS_VP_DRE_2                   0x3030
#define ALCS_VP_ROBUST_OPT              0x3034
#define ALCS_VP_VPE_A0                  0x3040
#define ALCS_VP_VPE_B0                  0x3044
#define ALCS_VP_VPE_C0                  0x3048
#define ALCS_VP_VPE_D0                  0x304C
#define ALCS_VP_VPE_E0                  0x3050
#define ALCS_VP_VPE_F0                  0x3054
#define ALCS_VP_VPE_A1                  0x3060
#define ALCS_VP_VPE_B1                  0x3064
#define ALCS_VP_VPE_C1                  0x3068
#define ALCS_VP_VPE_D1                  0x306C
#define ALCS_VP_VPE_E1                  0x3070
#define ALCS_VP_VPE_F1                  0x3074
#define ALCS_VP_VPE_A2                  0x3080
#define ALCS_VP_VPE_B2                  0x3084
#define ALCS_VP_VPE_C2                  0x3088
#define ALCS_VP_VPE_D2                  0x308C
#define ALCS_VP_VPE_E2                  0x3090
#define ALCS_VP_VPE_F2                  0x3094
#define ALCS_VP_VPE_A3                  0x30A0
#define ALCS_VP_VPE_B3                  0x30A4
#define ALCS_VP_VPE_C3                  0x30A8
#define ALCS_VP_VPE_D3                  0x30AC
#define ALCS_VP_VPE_E3                  0x30B0
#define ALCS_VP_VPE_F3                  0x30B4
#define ALCS_VP_VPE_A4                  0x30C0
#define ALCS_VP_VPE_B4                  0x30C4
#define ALCS_VP_VPE_C4                  0x30C8
#define ALCS_VP_VPE_D4                  0x30CC
#define ALCS_VP_VPE_E4                  0x30D0
#define ALCS_VP_VPE_F4                  0x30D4
#define ALCS_VP_VPE_A5                  0x30E0
#define ALCS_VP_VPE_B5                  0x30E4
#define ALCS_VP_VPE_C5                  0x30E8
#define ALCS_VP_VPE_D5                  0x30EC
#define ALCS_VP_VPE_E5                  0x30F0
#define ALCS_VP_VPE_F5                  0x30F4
#define ALCS_VP_VPE_A6                  0x3100
#define ALCS_VP_VPE_B6                  0x3104
#define ALCS_VP_VPE_C6                  0x3108
#define ALCS_VP_VPE_D6                  0x310C
#define ALCS_VP_VPE_E6                  0x3110
#define ALCS_VP_VPE_F6                  0x3114
#define ALCS_VP_VPE_A7                  0x3120
#define ALCS_VP_VPE_B7                  0x3124
#define ALCS_VP_VPE_C7                  0x3128
#define ALCS_VP_VPE_D7                  0x312C
#define ALCS_VP_VPE_E7                  0x3130
#define ALCS_VP_VPE_F7                  0x3134
#define ALCS_VP_VPE_A8                  0x3140
#define ALCS_VP_VPE_B8                  0x3144
#define ALCS_VP_VPE_C8                  0x3148
#define ALCS_VP_VPE_D8                  0x314C
#define ALCS_VP_VPE_E8                  0x3150
#define ALCS_VP_VPE_F8                  0x3154
#define ALCS_VP_VPE_A9                  0x3160
#define ALCS_VP_VPE_B9                  0x3164
#define ALCS_VP_VPE_C9                  0x3168
#define ALCS_VP_VPE_D9                  0x316C
#define ALCS_VP_VPE_E9                  0x3170
#define ALCS_VP_VPE_F9                  0x3174
#define ALCS_VP_VPE_A10                 0x3180
#define ALCS_VP_VPE_B10                 0x3184
#define ALCS_VP_VPE_C10                 0x3188
#define ALCS_VP_VPE_D10                 0x318C
#define ALCS_VP_VPE_E10                 0x3190
#define ALCS_VP_VPE_F10                 0x3194
#define ALCS_VP_VPE_A11                 0x31A0
#define ALCS_VP_VPE_B11                 0x31A4
#define ALCS_VP_VPE_C11                 0x31A8
#define ALCS_VP_VPE_D11                 0x31AC
#define ALCS_VP_VPE_E11                 0x31B0
#define ALCS_VP_VPE_F11                 0x31B4
#define ALCS_VP_VPE_A12                 0x31C0
#define ALCS_VP_VPE_B12                 0x31C4
#define ALCS_VP_VPE_C12                 0x31C8
#define ALCS_VP_VPE_D12                 0x31CC
#define ALCS_VP_VPE_E12                 0x31D0
#define ALCS_VP_VPE_F12                 0x31D4
#define ALCS_VP_VPE_A13                 0x31E0
#define ALCS_VP_VPE_B13                 0x31E4
#define ALCS_VP_VPE_C13                 0x31E8
#define ALCS_VP_VPE_D13                 0x31EC
#define ALCS_VP_VPE_E13                 0x31F0
#define ALCS_VP_VPE_F13                 0x31F4
#define ALCS_VP_VPE_A14                 0x3200
#define ALCS_VP_VPE_B14                 0x3204
#define ALCS_VP_VPE_C14                 0x3208
#define ALCS_VP_VPE_D14                 0x320C
#define ALCS_VP_VPE_E14                 0x3210
#define ALCS_VP_VPE_F14                 0x3214
#define ALCS_VP_VPE_A15                 0x3220
#define ALCS_VP_VPE_B15                 0x3224
#define ALCS_VP_VPE_C15                 0x3228
#define ALCS_VP_VPE_D15                 0x322C
#define ALCS_VP_VPE_E15                 0x3230
#define ALCS_VP_VPE_F15                 0x3234
#define ALCS_VP_FRMR_0_CTRL_0           0x3240
#define ALCS_VP_FRMR_0_CTRL_1           0x3244
#define ALCS_VP_FRMR_0_CTRL_2           0x3248
#define ALCS_VP_FRMR_0_CTRL_3           0x324C
#define ALCS_VP_FRMR_1_CTRL_0           0x3250
#define ALCS_VP_FRMR_1_CTRL_1           0x3254
#define ALCS_VP_FRMR_1_CTRL_2           0x3258
#define ALCS_VP_FRMR_1_CTRL_3           0x325C
#define ALCS_VP_FRMR_2_CTRL_0           0x3260
#define ALCS_VP_FRMR_2_CTRL_1           0x3264
#define ALCS_VP_FRMR_2_CTRL_2           0x3268
#define ALCS_VP_FRMR_2_CTRL_3           0x326C
#define ALCS_VP_FRMR_3_CTRL_0           0x3270
#define ALCS_VP_FRMR_3_CTRL_1           0x3274
#define ALCS_VP_FRMR_3_CTRL_2           0x3278
#define ALCS_VP_FRMR_3_CTRL_3           0x327C

#define ALCS_VP_FRMR0_A0                0x3440
#define ALCS_VP_FRMR0_B0                0x3444
#define ALCS_VP_FRMR0_C0                0x3448
#define ALCS_VP_FRMR0_D0                0x344C
#define ALCS_VP_FRMR0_E0                0x3450
#define ALCS_VP_FRMR0_F0                0x3454

#define ALCS_VP_FRMR0_A1                0x3460
#define ALCS_VP_FRMR0_B1                0x3464
#define ALCS_VP_FRMR0_C1                0x3468
#define ALCS_VP_FRMR0_D1                0x346C
#define ALCS_VP_FRMR0_E1                0x3470
#define ALCS_VP_FRMR0_F1                0x3474

#define ALCS_VP_FRMR0_A2                0x3480
#define ALCS_VP_FRMR0_B2                0x3484
#define ALCS_VP_FRMR0_C2                0x3488
#define ALCS_VP_FRMR0_D2                0x348C
#define ALCS_VP_FRMR0_E2                0x3490
#define ALCS_VP_FRMR0_F2                0x3494

#define ALCS_VP_FRMR0_A3                0x34A0
#define ALCS_VP_FRMR0_B3                0x34A4
#define ALCS_VP_FRMR0_C3                0x34A8
#define ALCS_VP_FRMR0_D3                0x34AC
#define ALCS_VP_FRMR0_E3                0x34B0
#define ALCS_VP_FRMR0_F3                0x34B4

#define ALCS_VP_FRMR1_A0                0x34C0
#define ALCS_VP_FRMR1_B0                0x34C4
#define ALCS_VP_FRMR1_C0                0x34C8
#define ALCS_VP_FRMR1_D0                0x34CC
#define ALCS_VP_FRMR1_E0                0x34D0
#define ALCS_VP_FRMR1_F0                0x34D4

#define ALCS_VP_FRMR1_A1                0x34E0
#define ALCS_VP_FRMR1_B1                0x34E4
#define ALCS_VP_FRMR1_C1                0x34E8
#define ALCS_VP_FRMR1_D1                0x34EC
#define ALCS_VP_FRMR1_E1                0x34F0
#define ALCS_VP_FRMR1_F1                0x34F4

#define ALCS_VP_FRMR1_A2                0x3500
#define ALCS_VP_FRMR1_B2                0x3504
#define ALCS_VP_FRMR1_C2                0x3508
#define ALCS_VP_FRMR1_D2                0x350C
#define ALCS_VP_FRMR1_E2                0x3510
#define ALCS_VP_FRMR1_F2                0x3514

#define ALCS_VP_FRMR1_A3                0x3520
#define ALCS_VP_FRMR1_B3                0x3524
#define ALCS_VP_FRMR1_C3                0x3528
#define ALCS_VP_FRMR1_D3                0x352C
#define ALCS_VP_FRMR1_E3                0x3530
#define ALCS_VP_FRMR1_F3                0x3534

#define ALCS_VP_FRMR2_A0                0x3540
#define ALCS_VP_FRMR2_B0                0x3544
#define ALCS_VP_FRMR2_C0                0x3548
#define ALCS_VP_FRMR2_D0                0x354C
#define ALCS_VP_FRMR2_E0                0x3550
#define ALCS_VP_FRMR2_F0                0x3554

#define ALCS_VP_FRMR2_A1                0x3560
#define ALCS_VP_FRMR2_B1                0x3564
#define ALCS_VP_FRMR2_C1                0x3568
#define ALCS_VP_FRMR2_D1                0x356C
#define ALCS_VP_FRMR2_E1                0x3570
#define ALCS_VP_FRMR2_F1                0x3574

#define ALCS_VP_FRMR2_A2                0x3580
#define ALCS_VP_FRMR2_B2                0x3584
#define ALCS_VP_FRMR2_C2                0x3588
#define ALCS_VP_FRMR2_D2                0x358C
#define ALCS_VP_FRMR2_E2                0x3590
#define ALCS_VP_FRMR2_F2                0x3594

#define ALCS_VP_FRMR2_A3                0x35A0
#define ALCS_VP_FRMR2_B3                0x35A4
#define ALCS_VP_FRMR2_C3                0x35A8
#define ALCS_VP_FRMR2_D3                0x35AC
#define ALCS_VP_FRMR2_E3                0x35B0
#define ALCS_VP_FRMR2_F3                0x35B4


#define ALCS_VP_FRMR3_A0                0x35C0
#define ALCS_VP_FRMR3_B0                0x35C4
#define ALCS_VP_FRMR3_C0                0x35C8
#define ALCS_VP_FRMR3_D0                0x35CC
#define ALCS_VP_FRMR3_E0                0x35D0
#define ALCS_VP_FRMR3_F0                0x35D4

#define ALCS_VP_FRMR3_A1                0x35E0
#define ALCS_VP_FRMR3_B1                0x35E4
#define ALCS_VP_FRMR3_C1                0x35E8
#define ALCS_VP_FRMR3_D1                0x35EC
#define ALCS_VP_FRMR3_E1                0x35F0
#define ALCS_VP_FRMR3_F1                0x35F4

#define ALCS_VP_FRMR3_A2                0x3600
#define ALCS_VP_FRMR3_B2                0x3604
#define ALCS_VP_FRMR3_C2                0x3608
#define ALCS_VP_FRMR3_D2                0x360C
#define ALCS_VP_FRMR3_E2                0x3610
#define ALCS_VP_FRMR3_F2                0x3614

#define ALCS_VP_FRMR3_A3                0x3620
#define ALCS_VP_FRMR3_B3                0x3624
#define ALCS_VP_FRMR3_C3                0x3628
#define ALCS_VP_FRMR3_D3                0x362C
#define ALCS_VP_FRMR3_E3                0x3630
#define ALCS_VP_FRMR3_F3                0x3634



//#define ALCS_VP_VPE_0_A               0x3020
//#define ALCS_VP_VPE_0_B               0x3024
//#define ALCS_VP_VPE_1_A               0x3028
//#define ALCS_VP_VPE_1_B               0x302C
//#define ALCS_VP_VPE_2_A               0x3030
//#define ALCS_VP_VPE_2_B               0x3034
//#define ALCS_VP_VPE_3_A               0x3038
//#define ALCS_VP_VPE_3_B               0x303C
//#define ALCS_VP_VPE_4_A               0x3040
//#define ALCS_VP_VPE_4_B               0x3044
//#define ALCS_VP_VPE_5_A               0x3048
//#define ALCS_VP_VPE_5_B               0x304C
//#define ALCS_VP_VPE_6_A               0x3050
//#define ALCS_VP_VPE_6_B               0x3054
//#define ALCS_VP_VPE_7_A               0x3058
//#define ALCS_VP_VPE_7_B               0x305C
//#define ALCS_VP_VPE_8_A               0x3060
//#define ALCS_VP_VPE_8_B               0x3064
//#define ALCS_VP_VPE_9_A               0x3068
//#define ALCS_VP_VPE_9_B               0x306C
//#define ALCS_VP_VPE_10_A              0x3070
//#define ALCS_VP_VPE_10_B              0x3074
//#define ALCS_VP_VPE_11_A              0x3078
//#define ALCS_VP_VPE_11_B              0x307C
//#define ALCS_VP_VPE_12_A              0x3080
//#define ALCS_VP_VPE_12_B              0x3084
//#define ALCS_VP_VPE_13_A              0x3088
//#define ALCS_VP_VPE_13_B              0x308C
//#define ALCS_VP_VPE_14_A              0x3090
//#define ALCS_VP_VPE_14_B              0x3094
//#define ALCS_VP_VPE_15_A              0x3098
//#define ALCS_VP_VPE_15_B              0x309C
//#define ALCS_VP_OMUX_E                0x30A0


#define ALCS_VDECA_MODE_CTRL            0x1000
#define ALCS_VDECA_OUT_CTRL1            0x1004
#define ALCS_VDECA_OUT_CTRL_NS          0x1008
#define ALCS_VDECA_GEN_STAT             0x100C
#define ALCS_VDECA_INT_STAT_MSK         0x1010
#define ALCS_VDECA_LUMA_CTRL            0x1014
#define ALCS_VDECA_CHROMA_CTRL          0x1018
#define ALCS_VDECA_CRUSH_CTRL           0x101C
#define ALCS_VDECA_HORIZ_TIM_CTRL       0x1020
#define ALCS_VDECA_VERT_TIM_CTRL        0x1024
#define ALCS_VDECA_VERT_MISC_CTRL       0x1028
#define ALCS_VDECA_FIELD_COUNT          0x012C
#define ALCS_VDECA_HSCALE_CTRL          0x1030
#define ALCS_VDECA_VSCALE_CTRL          0x1034
#define ALCS_VDECA_MAN_VGA_CTRL         0x1038
#define ALCS_VDECA_MAN_AGC_CTRL         0x103C
#define ALCS_VDECA_DFE_CTRL1            0x1040
#define ALCS_VDECA_DFE_CTRL2            0x1044
#define ALCS_VDECA_DFE_CTRL3            0x1048
#define ALCS_VDECA_PLL_CTRL             0x104C
#define ALCS_VDECA_PLL_CTRL_FAST        0x1050
#define ALCS_VDECA_HTL_CTRL             0x1054
#define ALCS_VDECA_SRC_CFG              0x1058
#define ALCS_VDECA_SC_STEP_SIZE         0x105C
#define ALCS_VDECA_SC_CONVERGE_CTRL     0x1060
#define ALCS_VDECA_SC_LOOP_CTRL         0x1064
#define ALCS_VDECA_COMB_FILT_CTRL1      0x1068
#define ALCS_VDECA_COMB_FILT_CTRL2      0x106C
#define ALCS_VDECA_COMB_FILT_CTRL3      0x1070
#define ALCS_VDECA_COMB_FILT_CTRL4      0x1074
#define ALCS_VDECA_BLUE_FLD_CTRL        0x1078
#define ALCS_VDECA_BLUE_FLD_CTRL_NS     0x107C
#define ALCS_VDECA_VCR_DET_CTRL         0x1088
#define ALCS_VDECA_NOISE_DET_CTRL       0x108C
#define ALCS_VDECA_MV_DT_CTRL1          0x1094
#define ALCS_VDECA_MV_DT_CTRL2          0x1098
#define ALCS_VDECA_MV_DT_CTRL3          0x109C
#define ALCS_VDECA_MV_DT_CTRL4          0x10A0
#define ALCS_VDECA_SC_AGC_CTRL1         0x10A4
#define ALCS_VDECA_SC_AGC_CTRL2         0x10A8
#define ALCS_VDECA_EQ_FIR_COEFF0        0x10C0
#define ALCS_VDECA_EQ_FIR_COEFF1        0x10C4
#define ALCS_VDECA_EQ_FIR_COEFF2        0x10C8
#define ALCS_VDECA_EQ_FIR_COEFF3        0x10CC
#define ALCS_VDECA_C2RB_DC_CTRL         0x1180
#define ALCS_VDECA_C2RB_DC_LPF          0x1184
#define ALCS_VDECA_C2RB_DC_INTG         0x1188
#define ALCS_VDECA_COL_GAIN_CTRL        0x118C
#define ALCS_VDECA_VERSION              0x11F8
#define ALCS_VDECA_SOFT_RST_CTRL        0x11FC

#define ALCS_VDECB_MODE_CTRL            0x1200
#define ALCS_VDECB_OUT_CTRL1            0x1204
#define ALCS_VDECB_OUT_CTRL_NS          0x1208
#define ALCS_VDECB_GEN_STAT             0x120C
#define ALCS_VDECB_INT_STAT_MSK         0x1210
#define ALCS_VDECB_LUMA_CTRL            0x1214
#define ALCS_VDECB_CHROMA_CTRL          0x1218
#define ALCS_VDECB_CRUSH_CTRL           0x121C
#define ALCS_VDECB_HORIZ_TIM_CTRL       0x1220
#define ALCS_VDECB_VERT_TIM_CTRL        0x1224
#define ALCS_VDECB_VERT_MISC_CTRL       0x1228
#define ALCS_VDECB_FIELD_COUNT          0x012C
#define ALCS_VDECB_HSCALE_CTRL          0x1230
#define ALCS_VDECB_VSCALE_CTRL          0x1234
#define ALCS_VDECB_MAN_VGA_CTRL         0x1238
#define ALCS_VDECB_MAN_AGC_CTRL         0x123C
#define ALCS_VDECB_DFE_CTRL1            0x1240
#define ALCS_VDECB_DFE_CTRL2            0x1244
#define ALCS_VDECB_DFE_CTRL3            0x1248
#define ALCS_VDECB_PLL_CTRL             0x124C
#define ALCS_VDECB_PLL_CTRL_FAST        0x1250
#define ALCS_VDECB_HTL_CTRL             0x1254
#define ALCS_VDECB_SRC_CFG              0x1258
#define ALCS_VDECB_SC_STEP_SIZE         0x125C
#define ALCS_VDECB_SC_CONVERGE_CTRL     0x1260
#define ALCS_VDECB_SC_LOOP_CTRL         0x1264
#define ALCS_VDECB_COMB_FILT_CTRL1      0x1268
#define ALCS_VDECB_COMB_FILT_CTRL2      0x126C
#define ALCS_VDECB_COMB_FILT_CTRL3      0x1270
#define ALCS_VDECB_COMB_FILT_CTRL4      0x1274
#define ALCS_VDECB_BLUE_FLD_CTRL        0x1278
#define ALCS_VDECB_BLUE_FLD_CTRL_NS     0x127C
#define ALCS_VDECB_VCR_DET_CTRL         0x1288
#define ALCS_VDECB_NOISE_DET_CTRL       0x128C
#define ALCS_VDECB_MV_DT_CTRL1          0x1294
#define ALCS_VDECB_MV_DT_CTRL2          0x1298
#define ALCS_VDECB_MV_DT_CTRL3          0x129C
#define ALCS_VDECB_MV_DT_CTRL4          0x12A0
#define ALCS_VDECB_SC_AGC_CTRL1         0x12A4
#define ALCS_VDECB_SC_AGC_CTRL2         0x12A8
#define ALCS_VDECB_EQ_FIR_COEFF0        0x12C0
#define ALCS_VDECB_EQ_FIR_COEFF1        0x12C4
#define ALCS_VDECB_EQ_FIR_COEFF2        0x12C8
#define ALCS_VDECB_EQ_FIR_COEFF3        0x12CC
#define ALCS_VDECB_C2RB_DC_CTRL         0x1380
#define ALCS_VDECB_C2RB_DC_LPF          0x1384
#define ALCS_VDECB_C2RB_DC_INTG         0x1388
#define ALCS_VDECB_COL_GAIN_CTRL        0x138C
#define ALCS_VDECB_VERSION              0x13F8
#define ALCS_VDECB_SOFT_RST_CTRL        0x13FC

#define ALCS_VDECC_MODE_CTRL            0x1400
#define ALCS_VDECC_OUT_CTRL1            0x1404
#define ALCS_VDECC_OUT_CTRL_NS          0x1408
#define ALCS_VDECC_GEN_STAT             0x140C
#define ALCS_VDECC_INT_STAT_MSK         0x1410
#define ALCS_VDECC_LUMA_CTRL            0x1414
#define ALCS_VDECC_CHROMA_CTRL          0x1418
#define ALCS_VDECC_CRUSH_CTRL           0x141C
#define ALCS_VDECC_HORIZ_TIM_CTRL       0x1420
#define ALCS_VDECC_VERT_TIM_CTRL        0x1424
#define ALCS_VDECC_VERT_MISC_CTRL       0x1428
#define ALCS_VDECC_FIELD_COUNT          0x012C
#define ALCS_VDECC_HSCALE_CTRL          0x1430
#define ALCS_VDECC_VSCALE_CTRL          0x1434
#define ALCS_VDECC_MAN_VGA_CTRL         0x1438
#define ALCS_VDECC_MAN_AGC_CTRL         0x143C
#define ALCS_VDECC_DFE_CTRL1            0x1440
#define ALCS_VDECC_DFE_CTRL2            0x1444
#define ALCS_VDECC_DFE_CTRL3            0x1448
#define ALCS_VDECC_PLL_CTRL             0x144C
#define ALCS_VDECC_PLL_CTRL_FAST        0x1450
#define ALCS_VDECC_HTL_CTRL             0x1454
#define ALCS_VDECC_SRC_CFG              0x1458
#define ALCS_VDECC_SC_STEP_SIZE         0x145C
#define ALCS_VDECC_SC_CONVERGE_CTRL     0x1460
#define ALCS_VDECC_SC_LOOP_CTRL         0x1464
#define ALCS_VDECC_COMB_FILT_CTRL1      0x1468
#define ALCS_VDECC_COMB_FILT_CTRL2      0x146C
#define ALCS_VDECC_COMB_FILT_CTRL3      0x1470
#define ALCS_VDECC_COMB_FILT_CTRL4      0x1474
#define ALCS_VDECC_BLUE_FLD_CTRL        0x1478
#define ALCS_VDECC_BLUE_FLD_CTRL_NS     0x147C
#define ALCS_VDECC_VCR_DET_CTRL         0x1488
#define ALCS_VDECC_NOISE_DET_CTRL       0x148C
#define ALCS_VDECC_MV_DT_CTRL1          0x1494
#define ALCS_VDECC_MV_DT_CTRL2          0x1498
#define ALCS_VDECC_MV_DT_CTRL3          0x149C
#define ALCS_VDECC_MV_DT_CTRL4          0x14A0
#define ALCS_VDECC_SC_AGC_CTRL1         0x14A4
#define ALCS_VDECC_SC_AGC_CTRL2         0x14A8
#define ALCS_VDECC_EQ_FIR_COEFF0        0x14C0
#define ALCS_VDECC_EQ_FIR_COEFF1        0x14C4
#define ALCS_VDECC_EQ_FIR_COEFF2        0x14C8
#define ALCS_VDECC_EQ_FIR_COEFF3        0x14CC
#define ALCS_VDECC_C2RB_DC_CTRL         0x1580
#define ALCS_VDECC_C2RB_DC_LPF          0x1584
#define ALCS_VDECC_C2RB_DC_INTG         0x1588
#define ALCS_VDECC_COL_GAIN_CTRL        0x158C
#define ALCS_VDECC_VERSION              0x15F8
#define ALCS_VDECC_SOFT_RST_CTRL        0x15FC

#define ALCS_VDECD_MODE_CTRL            0x1600
#define ALCS_VDECD_OUT_CTRL1            0x1604
#define ALCS_VDECD_OUT_CTRL_NS          0x1608
#define ALCS_VDECD_GEN_STAT             0x160C
#define ALCS_VDECD_INT_STAT_MSK         0x1610
#define ALCS_VDECD_LUMA_CTRL            0x1614
#define ALCS_VDECD_CHROMA_CTRL          0x1618
#define ALCS_VDECD_CRUSH_CTRL           0x161C
#define ALCS_VDECD_HORIZ_TIM_CTRL       0x1620
#define ALCS_VDECD_VERT_TIM_CTRL        0x1624
#define ALCS_VDECD_VERT_MISC_CTRL       0x1628
#define ALCS_VDECD_FIELD_COUNT          0x012C
#define ALCS_VDECD_HSCALE_CTRL          0x1630
#define ALCS_VDECD_VSCALE_CTRL          0x1634
#define ALCS_VDECD_MAN_VGA_CTRL         0x1638
#define ALCS_VDECD_MAN_AGC_CTRL         0x163C
#define ALCS_VDECD_DFE_CTRL1            0x1640
#define ALCS_VDECD_DFE_CTRL2            0x1644
#define ALCS_VDECD_DFE_CTRL3            0x1648
#define ALCS_VDECD_PLL_CTRL             0x164C
#define ALCS_VDECD_PLL_CTRL_FAST        0x1650
#define ALCS_VDECD_HTL_CTRL             0x1654
#define ALCS_VDECD_SRC_CFG              0x1658
#define ALCS_VDECD_SC_STEP_SIZE         0x165C
#define ALCS_VDECD_SC_CONVERGE_CTRL     0x1660
#define ALCS_VDECD_SC_LOOP_CTRL         0x1664
#define ALCS_VDECD_COMB_FILT_CTRL1      0x1668
#define ALCS_VDECD_COMB_FILT_CTRL2      0x166C
#define ALCS_VDECD_COMB_FILT_CTRL3      0x1670
#define ALCS_VDECD_COMB_FILT_CTRL4      0x1674
#define ALCS_VDECD_BLUE_FLD_CTRL        0x1678
#define ALCS_VDECD_BLUE_FLD_CTRL_NS     0x167C
#define ALCS_VDECD_VCR_DET_CTRL         0x1688
#define ALCS_VDECD_NOISE_DET_CTRL       0x168C
#define ALCS_VDECD_MV_DT_CTRL1          0x1694
#define ALCS_VDECD_MV_DT_CTRL2          0x1698
#define ALCS_VDECD_MV_DT_CTRL3          0x169C
#define ALCS_VDECD_MV_DT_CTRL4          0x16A0
#define ALCS_VDECD_SC_AGC_CTRL1         0x16A4
#define ALCS_VDECD_SC_AGC_CTRL2         0x16A8
#define ALCS_VDECD_EQ_FIR_COEFF0        0x16C0
#define ALCS_VDECD_EQ_FIR_COEFF1        0x16C4
#define ALCS_VDECD_EQ_FIR_COEFF2        0x16C8
#define ALCS_VDECD_EQ_FIR_COEFF3        0x16CC
#define ALCS_VDECD_C2RB_DC_CTRL         0x1780
#define ALCS_VDECD_C2RB_DC_LPF          0x1784
#define ALCS_VDECD_C2RB_DC_INTG         0x1788
#define ALCS_VDECD_COL_GAIN_CTRL        0x178C
#define ALCS_VDECD_VERSION              0x17F8
#define ALCS_VDECD_SOFT_RST_CTRL        0x17FC
#define ALCS_VDECE_MODE_CTRL            0x1800

#define ALCS_VDECE_OUT_CTRL1            0x1804
#define ALCS_VDECE_OUT_CTRL_NS          0x1808
#define ALCS_VDECE_GEN_STAT             0x180C
#define ALCS_VDECE_INT_STAT_MSK         0x1810
#define ALCS_VDECE_LUMA_CTRL            0x1814
#define ALCS_VDECE_CHROMA_CTRL          0x1818
#define ALCS_VDECE_CRUSH_CTRL           0x181C
#define ALCS_VDECE_HORIZ_TIM_CTRL       0x1820
#define ALCS_VDECE_VERT_TIM_CTRL        0x1824
#define ALCS_VDECE_VERT_MISC_CTRL       0x1828
#define ALCS_VDECE_FIELD_COUNT          0x012C
#define ALCS_VDECE_HSCALE_CTRL          0x1830
#define ALCS_VDECE_VSCALE_CTRL          0x1834
#define ALCS_VDECE_MAN_VGA_CTRL         0x1838
#define ALCS_VDECE_MAN_AGC_CTRL         0x183C
#define ALCS_VDECE_DFE_CTRL1            0x1840
#define ALCS_VDECE_DFE_CTRL2            0x1844
#define ALCS_VDECE_DFE_CTRL3            0x1848
#define ALCS_VDECE_PLL_CTRL             0x184C
#define ALCS_VDECE_PLL_CTRL_FAST        0x1850
#define ALCS_VDECE_HTL_CTRL             0x1854
#define ALCS_VDECE_SRC_CFG              0x1858
#define ALCS_VDECE_SC_STEP_SIZE         0x185C
#define ALCS_VDECE_SC_CONVERGE_CTRL     0x1860
#define ALCS_VDECE_SC_LOOP_CTRL         0x1864
#define ALCS_VDECE_COMB_FILT_CTRL1      0x1868
#define ALCS_VDECE_COMB_FILT_CTRL2      0x186C
#define ALCS_VDECE_COMB_FILT_CTRL3      0x1870
#define ALCS_VDECE_COMB_FILT_CTRL4      0x1874
#define ALCS_VDECE_BLUE_FLD_CTRL        0x1878
#define ALCS_VDECE_BLUE_FLD_CTRL_NS     0x187C
#define ALCS_VDECE_VCR_DET_CTRL         0x1888
#define ALCS_VDECE_NOISE_DET_CTRL       0x188C
#define ALCS_VDECE_MV_DT_CTRL1          0x1894
#define ALCS_VDECE_MV_DT_CTRL2          0x1898
#define ALCS_VDECE_MV_DT_CTRL3          0x189C
#define ALCS_VDECE_MV_DT_CTRL4          0x18A0
#define ALCS_VDECE_SC_AGC_CTRL1         0x18A4
#define ALCS_VDECE_SC_AGC_CTRL2         0x18A8
#define ALCS_VDECE_EQ_FIR_COEFF0        0x18C0
#define ALCS_VDECE_EQ_FIR_COEFF1        0x18C4
#define ALCS_VDECE_EQ_FIR_COEFF2        0x18C8
#define ALCS_VDECE_EQ_FIR_COEFF3        0x18CC
#define ALCS_VDECE_C2RB_DC_CTRL         0x1980
#define ALCS_VDECE_C2RB_DC_LPF          0x1984
#define ALCS_VDECE_C2RB_DC_INTG         0x1988
#define ALCS_VDECE_COL_GAIN_CTRL        0x198C
#define ALCS_VDECE_VERSION              0x19F8
#define ALCS_VDECE_SOFT_RST_CTRL        0x19FC

#define ALCS_VDECF_MODE_CTRL            0x1A00
#define ALCS_VDECF_OUT_CTRL1            0x1A04
#define ALCS_VDECF_OUT_CTRL_NS          0x1A08
#define ALCS_VDECF_GEN_STAT             0x1A0C
#define ALCS_VDECF_INT_STAT_MSK         0x1A10
#define ALCS_VDECF_LUMA_CTRL            0x1A14
#define ALCS_VDECF_CHROMA_CTRL          0x1A18
#define ALCS_VDECF_CRUSH_CTRL           0x1A1C
#define ALCS_VDECF_HORIZ_TIM_CTRL       0x1A20
#define ALCS_VDECF_VERT_TIM_CTRL        0x1A24
#define ALCS_VDECF_VERT_MISC_CTRL       0x1A28
#define ALCS_VDECF_FIELD_COUNT          0x012C
#define ALCS_VDECF_HSCALE_CTRL          0x1A30
#define ALCS_VDECF_VSCALE_CTRL          0x1A34
#define ALCS_VDECF_MAN_VGA_CTRL         0x1A38
#define ALCS_VDECF_MAN_AGC_CTRL         0x1A3C
#define ALCS_VDECF_DFE_CTRL1            0x1A40
#define ALCS_VDECF_DFE_CTRL2            0x1A44
#define ALCS_VDECF_DFE_CTRL3            0x1A48
#define ALCS_VDECF_PLL_CTRL             0x1A4C
#define ALCS_VDECF_PLL_CTRL_FAST        0x1A50
#define ALCS_VDECF_HTL_CTRL             0x1A54
#define ALCS_VDECF_SRC_CFG              0x1A58
#define ALCS_VDECF_SC_STEP_SIZE         0x1A5C
#define ALCS_VDECF_SC_CONVERGE_CTRL     0x1A60
#define ALCS_VDECF_SC_LOOP_CTRL         0x1A64
#define ALCS_VDECF_COMB_FILT_CTRL1      0x1A68
#define ALCS_VDECF_COMB_FILT_CTRL2      0x1A6C
#define ALCS_VDECF_COMB_FILT_CTRL3      0x1A70
#define ALCS_VDECF_COMB_FILT_CTRL4      0x1A74
#define ALCS_VDECF_BLUE_FLD_CTRL        0x1A78
#define ALCS_VDECF_BLUE_FLD_CTRL_NS     0x1A7C
#define ALCS_VDECF_VCR_DET_CTRL         0x1A88
#define ALCS_VDECF_NOISE_DET_CTRL       0x1A8C
#define ALCS_VDECF_MV_DT_CTRL1          0x1A94
#define ALCS_VDECF_MV_DT_CTRL2          0x1A98
#define ALCS_VDECF_MV_DT_CTRL3          0x1A9C
#define ALCS_VDECF_MV_DT_CTRL4          0x1AA0
#define ALCS_VDECF_SC_AGC_CTRL1         0x1AA4
#define ALCS_VDECF_SC_AGC_CTRL2         0x1AA8
#define ALCS_VDECF_EQ_FIR_COEFF0        0x1AC0
#define ALCS_VDECF_EQ_FIR_COEFF1        0x1AC4
#define ALCS_VDECF_EQ_FIR_COEFF2        0x1AC8
#define ALCS_VDECF_EQ_FIR_COEFF3        0x1ACC
#define ALCS_VDECF_C2RB_DC_CTRL         0x1B80
#define ALCS_VDECF_C2RB_DC_LPF          0x1B84
#define ALCS_VDECF_C2RB_DC_INTG         0x1B88
#define ALCS_VDECF_COL_GAIN_CTRL        0x1B8C
#define ALCS_VDECF_VERSION              0x1BF8
#define ALCS_VDECF_SOFT_RST_CTRL        0x1BFC

#define ALCS_VDECG_MODE_CTRL            0x1C00
#define ALCS_VDECG_OUT_CTRL1            0x1C04
#define ALCS_VDECG_OUT_CTRL_NS          0x1C08
#define ALCS_VDECG_GEN_STAT             0x1C0C
#define ALCS_VDECG_INT_STAT_MSK         0x1C10
#define ALCS_VDECG_LUMA_CTRL            0x1C14
#define ALCS_VDECG_CHROMA_CTRL          0x1C18
#define ALCS_VDECG_CRUSH_CTRL           0x1C1C
#define ALCS_VDECG_HORIZ_TIM_CTRL       0x1C20
#define ALCS_VDECG_VERT_TIM_CTRL        0x1C24
#define ALCS_VDECG_VERT_MISC_CTRL       0x1C28
#define ALCS_VDECG_FIELD_COUNT          0x012C
#define ALCS_VDECG_HSCALE_CTRL          0x1C30
#define ALCS_VDECG_VSCALE_CTRL          0x1C34
#define ALCS_VDECG_MAN_VGA_CTRL         0x1C38
#define ALCS_VDECG_MAN_AGC_CTRL         0x1C3C
#define ALCS_VDECG_DFE_CTRL1            0x1C40
#define ALCS_VDECG_DFE_CTRL2            0x1C44
#define ALCS_VDECG_DFE_CTRL3            0x1C48
#define ALCS_VDECG_PLL_CTRL             0x1C4C
#define ALCS_VDECG_PLL_CTRL_FAST        0x1C50
#define ALCS_VDECG_HTL_CTRL             0x1C54
#define ALCS_VDECG_SRC_CFG              0x1C58
#define ALCS_VDECG_SC_STEP_SIZE         0x1C5C
#define ALCS_VDECG_SC_CONVERGE_CTRL     0x1C60
#define ALCS_VDECG_SC_LOOP_CTRL         0x1C64
#define ALCS_VDECG_COMB_FILT_CTRL1      0x1C68
#define ALCS_VDECG_COMB_FILT_CTRL2      0x1C6C
#define ALCS_VDECG_COMB_FILT_CTRL3      0x1C70
#define ALCS_VDECG_COMB_FILT_CTRL4      0x1C74
#define ALCS_VDECG_BLUE_FLD_CTRL        0x1C78
#define ALCS_VDECG_BLUE_FLD_CTRL_NS     0x1C7C
#define ALCS_VDECG_VCR_DET_CTRL         0x1C88
#define ALCS_VDECG_NOISE_DET_CTRL       0x1C8C
#define ALCS_VDECG_MV_DT_CTRL1          0x1C94
#define ALCS_VDECG_MV_DT_CTRL2          0x1C98
#define ALCS_VDECG_MV_DT_CTRL3          0x1C9C
#define ALCS_VDECG_MV_DT_CTRL4          0x1CA0
#define ALCS_VDECG_SC_AGC_CTRL1         0x1CA4
#define ALCS_VDECG_SC_AGC_CTRL2         0x1CA8
#define ALCS_VDECG_EQ_FIR_COEFF0        0x1CC0
#define ALCS_VDECG_EQ_FIR_COEFF1        0x1CC4
#define ALCS_VDECG_EQ_FIR_COEFF2        0x1CC8
#define ALCS_VDECG_EQ_FIR_COEFF3        0x1CCC
#define ALCS_VDECG_C2RB_DC_CTRL         0x1D80
#define ALCS_VDECG_C2RB_DC_LPF          0x1D84
#define ALCS_VDECG_C2RB_DC_INTG         0x1D88
#define ALCS_VDECG_COL_GAIN_CTRL        0x1D8C
#define ALCS_VDECG_VERSION              0x1DF8
#define ALCS_VDECG_SOFT_RST_CTRL        0x1DFC

#define ALCS_VDECH_MODE_CTRL            0x1E00
#define ALCS_VDECH_OUT_CTRL1            0x1E04
#define ALCS_VDECH_OUT_CTRL_NS          0x1E08
#define ALCS_VDECH_GEN_STAT             0x1E0C
#define ALCS_VDECH_INT_STAT_MSK         0x1E10
#define ALCS_VDECH_LUMA_CTRL            0x1E14
#define ALCS_VDECH_CHROMA_CTRL          0x1E18
#define ALCS_VDECH_CRUSH_CTRL           0x1E1C
#define ALCS_VDECH_HORIZ_TIM_CTRL       0x1E20
#define ALCS_VDECH_VERT_TIM_CTRL        0x1E24
#define ALCS_VDECH_VERT_MISC_CTRL       0x1E28
#define ALCS_VDECH_FIELD_COUNT          0x012C
#define ALCS_VDECH_HSCALE_CTRL          0x1E30
#define ALCS_VDECH_VSCALE_CTRL          0x1E34
#define ALCS_VDECH_MAN_VGA_CTRL         0x1E38
#define ALCS_VDECH_MAN_AGC_CTRL         0x1E3C
#define ALCS_VDECH_DFE_CTRL1            0x1E40
#define ALCS_VDECH_DFE_CTRL2            0x1E44
#define ALCS_VDECH_DFE_CTRL3            0x1E48
#define ALCS_VDECH_PLL_CTRL             0x1E4C
#define ALCS_VDECH_PLL_CTRL_FAST        0x1E50
#define ALCS_VDECH_HTL_CTRL             0x1E54
#define ALCS_VDECH_SRC_CFG              0x1E58
#define ALCS_VDECH_SC_STEP_SIZE         0x1E5C
#define ALCS_VDECH_SC_CONVERGE_CTRL     0x1E60
#define ALCS_VDECH_SC_LOOP_CTRL         0x1E64
#define ALCS_VDECH_COMB_FILT_CTRL1      0x1E68
#define ALCS_VDECH_COMB_FILT_CTRL2      0x1E6C
#define ALCS_VDECH_COMB_FILT_CTRL3      0x1E70
#define ALCS_VDECH_COMB_FILT_CTRL4      0x1E74
#define ALCS_VDECH_BLUE_FLD_CTRL        0x1E78
#define ALCS_VDECH_BLUE_FLD_CTRL_NS     0x1E7C
#define ALCS_VDECH_VCR_DET_CTRL         0x1E88
#define ALCS_VDECH_NOISE_DET_CTRL       0x1E8C
#define ALCS_VDECH_MV_DT_CTRL1          0x1E94
#define ALCS_VDECH_MV_DT_CTRL2          0x1E98
#define ALCS_VDECH_MV_DT_CTRL3          0x1E9C
#define ALCS_VDECH_MV_DT_CTRL4          0x1EA0
#define ALCS_VDECH_SC_AGC_CTRL1         0x1EA4
#define ALCS_VDECH_SC_AGC_CTRL2         0x1EA8
#define ALCS_VDECH_EQ_FIR_COEFF0        0x1EC0
#define ALCS_VDECH_EQ_FIR_COEFF1        0x1EC4
#define ALCS_VDECH_EQ_FIR_COEFF2        0x1EC8
#define ALCS_VDECH_EQ_FIR_COEFF3        0x1ECC
#define ALCS_VDECH_C2RB_DC_CTRL         0x1F80
#define ALCS_VDECH_C2RB_DC_LPF          0x1F84
#define ALCS_VDECH_C2RB_DC_INTG         0x1F88
#define ALCS_VDECH_COL_GAIN_CTRL        0x1F8C
#define ALCS_VDECH_VERSION              0x1FF8
#define ALCS_VDECH_SOFT_RST_CTRL        0x1FFC


#define ALCS_MDET_0_CTRL                0x800
#define ALCS_MDET_0_INTR_MSK            0x804
#define ALCS_MDET_0_INTR_STAT           0x808
#define ALCS_MDET_0_SKIP                0x80C
#define ALCS_MDET_0_GRID_XCNT           0x810
#define ALCS_MDET_0_GRID_YCNT           0x814
#define ALCS_MDET_0_SRAM_ADDR           0x818
#define ALCS_MDET_0_SRAM_DATA           0x81C
#define ALCS_MDET_0_MOTION_THRESH       0x820
#define ALCS_MDET_0_STILL_THRESH        0x824
#define ALCS_MDET_0_BLACK_THRESH        0x828
#define ALCS_MDET_0_WHITE_THRESH        0x82C
#define ALCS_MDET_0_BLK_AVG_CTRL        0x830
#define ALCS_MDET_0_MOT_MASK0           0x834
#define ALCS_MDET_0_MOT_MASK1           0x838
#define ALCS_MDET_0_MOT_MASK2           0x83C
#define ALCS_MDET_0_MOT_MASK3           0x840
#define ALCS_MDET_0_MOT_MASK4           0x844
#define ALCS_MDET_0_MOT_MASK5           0x848
#define ALCS_MDET_0_MOT_STAT0           0x84C
#define ALCS_MDET_0_MOT_STAT1           0x850
#define ALCS_MDET_0_MOT_STAT2           0x854
#define ALCS_MDET_0_MOT_STAT3           0x858
#define ALCS_MDET_0_MOT_STAT4           0x85C
#define ALCS_MDET_0_MOT_STAT5           0x860
#define ALCS_MDET_0_MOT_MASK6           0x864
#define ALCS_MDET_0_MOT_MASK7           0x868
#define ALCS_MDET_0_MOT_STAT6           0x86C
#define ALCS_MDET_0_MOT_STAT7           0x870

#define ALCS_MDET_1_CTRL                0x900
#define ALCS_MDET_1_INTR_MSK            0x904
#define ALCS_MDET_1_INTR_STAT           0x908
#define ALCS_MDET_1_SKIP                0x90C
#define ALCS_MDET_1_GRID_XCNT           0x910
#define ALCS_MDET_1_GRID_YCNT           0x914
#define ALCS_MDET_1_SRAM_ADDR           0x918
#define ALCS_MDET_1_SRAM_DATA           0x91C
#define ALCS_MDET_1_MOTION_THRESH       0x920
#define ALCS_MDET_1_STILL_THRESH        0x924
#define ALCS_MDET_1_BLACK_THRESH        0x928
#define ALCS_MDET_1_WHITE_THRESH        0x92C
#define ALCS_MDET_1_BLK_AVG_CTRL        0x930
#define ALCS_MDET_1_MOT_MASK0           0x934
#define ALCS_MDET_1_MOT_MASK1           0x938
#define ALCS_MDET_1_MOT_MASK2           0x93C
#define ALCS_MDET_1_MOT_MASK3           0x940
#define ALCS_MDET_1_MOT_MASK4           0x944
#define ALCS_MDET_1_MOT_MASK5           0x948
#define ALCS_MDET_1_MOT_STAT0           0x94C
#define ALCS_MDET_1_MOT_STAT1           0x950
#define ALCS_MDET_1_MOT_STAT2           0x954
#define ALCS_MDET_1_MOT_STAT3           0x958
#define ALCS_MDET_1_MOT_STAT4           0x95C
#define ALCS_MDET_1_MOT_STAT5           0x960
#define ALCS_MDET_1_MOT_MASK6           0x964
#define ALCS_MDET_1_MOT_MASK7           0x968
#define ALCS_MDET_1_MOT_STAT6           0x96C
#define ALCS_MDET_1_MOT_STAT7           0x970

#define ALCS_MDET_2_CTRL                0xA00
#define ALCS_MDET_2_INTR_MSK            0xA04
#define ALCS_MDET_2_INTR_STAT           0xA08
#define ALCS_MDET_2_SKIP                0xA0C
#define ALCS_MDET_2_GRID_XCNT           0xA10
#define ALCS_MDET_2_GRID_YCNT           0xA14
#define ALCS_MDET_2_SRAM_ADDR           0xA18
#define ALCS_MDET_2_SRAM_DATA           0xA1C
#define ALCS_MDET_2_MOTION_THRESH       0xA20
#define ALCS_MDET_2_STILL_THRESH        0xA24
#define ALCS_MDET_2_BLACK_THRESH        0xA28
#define ALCS_MDET_2_WHITE_THRESH        0xA2C
#define ALCS_MDET_2_BLK_AVG_CTRL        0xA30
#define ALCS_MDET_2_MOT_MASK0           0xA34
#define ALCS_MDET_2_MOT_MASK1           0xA38
#define ALCS_MDET_2_MOT_MASK2           0xA3C
#define ALCS_MDET_2_MOT_MASK3           0xA40
#define ALCS_MDET_2_MOT_MASK4           0xA44
#define ALCS_MDET_2_MOT_MASK5           0xA48
#define ALCS_MDET_2_MOT_STAT0           0xA4C
#define ALCS_MDET_2_MOT_STAT1           0xA50
#define ALCS_MDET_2_MOT_STAT2           0xA54
#define ALCS_MDET_2_MOT_STAT3           0xA58
#define ALCS_MDET_2_MOT_STAT4           0xA5C
#define ALCS_MDET_2_MOT_STAT5           0xA60
#define ALCS_MDET_2_MOT_MASK6           0xA64
#define ALCS_MDET_2_MOT_MASK7           0xA68
#define ALCS_MDET_2_MOT_STAT6           0xA6C
#define ALCS_MDET_2_MOT_STAT7           0xA70

#define ALCS_MDET_3_CTRL                0xB00
#define ALCS_MDET_3_INTR_MSK            0xB04
#define ALCS_MDET_3_INTR_STAT           0xB08
#define ALCS_MDET_3_SKIP                0xB0C
#define ALCS_MDET_3_GRID_XCNT           0xB10
#define ALCS_MDET_3_GRID_YCNT           0xB14
#define ALCS_MDET_3_SRAM_ADDR           0xB18
#define ALCS_MDET_3_SRAM_DATA           0xB1C
#define ALCS_MDET_3_MOTION_THRESH       0xB20
#define ALCS_MDET_3_STILL_THRESH        0xB24
#define ALCS_MDET_3_BLACK_THRESH        0xB28
#define ALCS_MDET_3_WHITE_THRESH        0xB2C
#define ALCS_MDET_3_BLK_AVG_CTRL        0xB30
#define ALCS_MDET_3_MOT_MASK0           0xB34
#define ALCS_MDET_3_MOT_MASK1           0xB38
#define ALCS_MDET_3_MOT_MASK2           0xB3C
#define ALCS_MDET_3_MOT_MASK3           0xB40
#define ALCS_MDET_3_MOT_MASK4           0xB44
#define ALCS_MDET_3_MOT_MASK5           0xB48
#define ALCS_MDET_3_MOT_STAT0           0xB4C
#define ALCS_MDET_3_MOT_STAT1           0xB50
#define ALCS_MDET_3_MOT_STAT2           0xB54
#define ALCS_MDET_3_MOT_STAT3           0xB58
#define ALCS_MDET_3_MOT_STAT4           0xB5C
#define ALCS_MDET_3_MOT_STAT5           0xB60
#define ALCS_MDET_3_MOT_MASK6           0xB64
#define ALCS_MDET_3_MOT_MASK7           0xB68
#define ALCS_MDET_3_MOT_STAT6           0xB6C
#define ALCS_MDET_3_MOT_STAT7           0xB70

#define ALCS_MDET_4_CTRL                0xC00
#define ALCS_MDET_4_INTR_MSK            0xC04
#define ALCS_MDET_4_INTR_STAT           0xC08
#define ALCS_MDET_4_SKIP                0xC0C
#define ALCS_MDET_4_GRID_XCNT           0xC10
#define ALCS_MDET_4_GRID_YCNT           0xC14
#define ALCS_MDET_4_SRAM_ADDR           0xC18
#define ALCS_MDET_4_SRAM_DATA           0xC1C
#define ALCS_MDET_4_MOTION_THRESH       0xC20
#define ALCS_MDET_4_STILL_THRESH        0xC24
#define ALCS_MDET_4_BLACK_THRESH        0xC28
#define ALCS_MDET_4_WHITE_THRESH        0xC2C
#define ALCS_MDET_4_BLK_AVG_CTRL        0xC30
#define ALCS_MDET_4_MOT_MASK0           0xC34
#define ALCS_MDET_4_MOT_MASK1           0xC38
#define ALCS_MDET_4_MOT_MASK2           0xC3C
#define ALCS_MDET_4_MOT_MASK3           0xC40
#define ALCS_MDET_4_MOT_MASK4           0xC44
#define ALCS_MDET_4_MOT_MASK5           0xC48
#define ALCS_MDET_4_MOT_STAT0           0xC4C
#define ALCS_MDET_4_MOT_STAT1           0xC50
#define ALCS_MDET_4_MOT_STAT2           0xC54
#define ALCS_MDET_4_MOT_STAT3           0xC58
#define ALCS_MDET_4_MOT_STAT4           0xC5C
#define ALCS_MDET_4_MOT_STAT5           0xC60
#define ALCS_MDET_4_MOT_MASK6           0xC64
#define ALCS_MDET_4_MOT_MASK7           0xC68
#define ALCS_MDET_4_MOT_STAT6           0xC6C
#define ALCS_MDET_4_MOT_STAT7           0xC70

#define ALCS_MDET_5_CTRL                0xD00
#define ALCS_MDET_5_INTR_MSK            0xD04
#define ALCS_MDET_5_INTR_STAT           0xD08
#define ALCS_MDET_5_SKIP                0xD0C
#define ALCS_MDET_5_GRID_XCNT           0xD10
#define ALCS_MDET_5_GRID_YCNT           0xD14
#define ALCS_MDET_5_SRAM_ADDR           0xD18
#define ALCS_MDET_5_SRAM_DATA           0xD1C
#define ALCS_MDET_5_MOTION_THRESH       0xD20
#define ALCS_MDET_5_STILL_THRESH        0xD24
#define ALCS_MDET_5_BLACK_THRESH        0xD28
#define ALCS_MDET_5_WHITE_THRESH        0xD2C
#define ALCS_MDET_5_BLK_AVG_CTRL        0xD30
#define ALCS_MDET_5_MOT_MASK0           0xD34
#define ALCS_MDET_5_MOT_MASK1           0xD38
#define ALCS_MDET_5_MOT_MASK2           0xD3C
#define ALCS_MDET_5_MOT_MASK3           0xD40
#define ALCS_MDET_5_MOT_MASK4           0xD44
#define ALCS_MDET_5_MOT_MASK5           0xD48
#define ALCS_MDET_5_MOT_STAT0           0xD4C
#define ALCS_MDET_5_MOT_STAT1           0xD50
#define ALCS_MDET_5_MOT_STAT2           0xD54
#define ALCS_MDET_5_MOT_STAT3           0xD58
#define ALCS_MDET_5_MOT_STAT4           0xD5C
#define ALCS_MDET_5_MOT_STAT5           0xD60
#define ALCS_MDET_5_MOT_MASK6           0xD64
#define ALCS_MDET_5_MOT_MASK7           0xD68
#define ALCS_MDET_5_MOT_STAT6           0xD6C
#define ALCS_MDET_5_MOT_STAT7           0xD70

#define ALCS_MDET_6_CTRL                0xE00
#define ALCS_MDET_6_INTR_MSK            0xE04
#define ALCS_MDET_6_INTR_STAT           0xE08
#define ALCS_MDET_6_SKIP                0xE0C
#define ALCS_MDET_6_GRID_XCNT           0xE10
#define ALCS_MDET_6_GRID_YCNT           0xE14
#define ALCS_MDET_6_SRAM_ADDR           0xE18
#define ALCS_MDET_6_SRAM_DATA           0xE1C
#define ALCS_MDET_6_MOTION_THRESH       0xE20
#define ALCS_MDET_6_STILL_THRESH        0xE24
#define ALCS_MDET_6_BLACK_THRESH        0xE28
#define ALCS_MDET_6_WHITE_THRESH        0xE2C
#define ALCS_MDET_6_BLK_AVG_CTRL        0xE30
#define ALCS_MDET_6_MOT_MASK0           0xE34
#define ALCS_MDET_6_MOT_MASK1           0xE38
#define ALCS_MDET_6_MOT_MASK2           0xE3C
#define ALCS_MDET_6_MOT_MASK3           0xE40
#define ALCS_MDET_6_MOT_MASK4           0xE44
#define ALCS_MDET_6_MOT_MASK5           0xE48
#define ALCS_MDET_6_MOT_STAT0           0xE4C
#define ALCS_MDET_6_MOT_STAT1           0xE50
#define ALCS_MDET_6_MOT_STAT2           0xE54
#define ALCS_MDET_6_MOT_STAT3           0xE58
#define ALCS_MDET_6_MOT_STAT4           0xE5C
#define ALCS_MDET_6_MOT_STAT5           0xE60
#define ALCS_MDET_6_MOT_MASK6           0xE64
#define ALCS_MDET_6_MOT_MASK7           0xE68
#define ALCS_MDET_6_MOT_STAT6           0xE6C
#define ALCS_MDET_6_MOT_STAT7           0xE70

#define ALCS_MDET_7_CTRL                0xF00
#define ALCS_MDET_7_INTR_MSK            0xF04
#define ALCS_MDET_7_INTR_STAT           0xF08
#define ALCS_MDET_7_SKIP                0xF0C
#define ALCS_MDET_7_GRID_XCNT           0xF10
#define ALCS_MDET_7_GRID_YCNT           0xF14
#define ALCS_MDET_7_SRAM_ADDR           0xF18
#define ALCS_MDET_7_SRAM_DATA           0xF1C
#define ALCS_MDET_7_MOTION_THRESH       0xF20
#define ALCS_MDET_7_STILL_THRESH        0xF24
#define ALCS_MDET_7_BLACK_THRESH        0xF28
#define ALCS_MDET_7_WHITE_THRESH        0xF2C
#define ALCS_MDET_7_BLK_AVG_CTRL        0xF30
#define ALCS_MDET_7_MOT_MASK0           0xF34
#define ALCS_MDET_7_MOT_MASK1           0xF38
#define ALCS_MDET_7_MOT_MASK2           0xF3C
#define ALCS_MDET_7_MOT_MASK3           0xF40
#define ALCS_MDET_7_MOT_MASK4           0xF44
#define ALCS_MDET_7_MOT_MASK5           0xF48
#define ALCS_MDET_7_MOT_STAT0           0xF4C
#define ALCS_MDET_7_MOT_STAT1           0xF50
#define ALCS_MDET_7_MOT_STAT2           0xF54
#define ALCS_MDET_7_MOT_STAT3           0xF58
#define ALCS_MDET_7_MOT_STAT4           0xF5C
#define ALCS_MDET_7_MOT_STAT5           0xF60
#define ALCS_MDET_7_MOT_MASK6           0xF64
#define ALCS_MDET_7_MOT_MASK7           0xF68
#define ALCS_MDET_7_MOT_STAT6           0xF6C
#define ALCS_MDET_7_MOT_STAT7           0xF70

#define ALCS_HOST_REG1                  0x0000

#define ALCS_REV_ID                     0x0004

#define ALCS_ATE_I2C_ENABLE             0x0005
#define ALCS_ATE_TEST_MODE              0x0006

#define ALCS_VID_A_MBIST_STATUS         0x0008
#define ALCS_VID_B_MBIST_STATUS         0x0009
#define ALCS_VID_C_MBIST_STATUS         0x000a
#define ALCS_VID_D_MBIST_STATUS         0x000b
#define ALCS_VID_E_MBIST_STATUS         0x000c
#define ALCS_VID_F_MBIST_STATUS         0x000d
#define ALCS_VID_G_MBIST_STATUS         0x000e
#define ALCS_VID_H_MBIST_STATUS         0x000f

#define ALCS_MD_MBIST_STATUS1           0x0010
#define ALCS_MD_MBIST_STATUS2           0x0011

#define ALCS_VP_MBIST_STATUS1           0x0012
#define ALCS_VP_MBIST_STATUS2           0x0013

#define ALCS_AP_MBIST_STATUS            0x0014

#define ALCS_AADC_MBIST_STATUS          0x0015
#define ALCS_ADAC_MBIST_STATUS          0x0016

#define ALCS_TESTBUS_CTL1               0x0020
#define ALCS_TESTBUS_CTL2               0x0021
#define ALCS_TESTBUS_CTL3               0x0022
#define ALCS_TESTBUS_CTL4               0x0023
#define ALCS_TESTBUS_CTL5               0x0024
#define ALCS_TESTBUS_CTL6               0x0025
#define ALCS_TESTBUS_CTL7               0x0026
#define ALCS_TESTBUS_CTL8               0x0027
#define ALCS_TESTBUS_CTL9               0x0028

#define ALCS_EMA_VID0                   0x0030
#define ALCS_EMA_VID1                   0x0031
#define ALCS_EMA_MD                     0x0032
#define ALCS_EMA_VP                     0x0033
#define ALCS_EMA_AP                     0x0034
#define ALCS_EMA_AADC                   0x0035
#define ALCS_EMA_ADAC                   0x0036

#define ALCS_PAD_DRV1                   0x0038
#define ALCS_PAD_DRV2                   0x0039
#define ALCS_PAD_DRV3                   0x003A
#define ALCS_PAD_DRV4                   0x003B


#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* _ALCAEUS_REGISTERS_H */
